package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName menu_user
 */
@TableName(value ="menu_user")
@Data
public class MenuUser implements Serializable {
    /**
     * 菜单id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 访问路径
     */
    private String path;

    /**
     * 父菜单id
     */
    private Integer parentid;

    /**
     * 级别
     */
    private String level;


    @TableField(exist = false)
    private List<MenuUser> Children;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}